package com.group01.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.group01.dto.Admin.AdminLoginDTO;
import com.group01.pojo.User;
import com.group01.result.Result;
import com.group01.vo.Admin.AdminLoginVO;
import lombok.SneakyThrows;

/**
 * @Description 管理端业务接口
 * @Author 翟玉龙
 * @Date 2024/6/21
 */
public interface AdminService extends IService<User> {
    Result<AdminLoginVO> loginAdmin(AdminLoginDTO adminLoginDTO);

    Result<AdminLoginVO> loginUser(AdminLoginDTO adminLoginDTO);

    Result<String> logoutAdmin();
}
